package cn.tedu.mvc;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("car")
public class CarController {
    @RequestMapping("get")
    public String get(){
        return "欢迎~";
    }
    @RequestMapping("bb")
    public String bb(int id, String name, double price) {
        return id+name+price;
    }
    @RequestMapping("dd")
    public Car dd(Car car){
        return car;
    }
}
